package com.atguigu.srb.oss.service;

import java.io.InputStream;

/**
 * @author Administrator
 * @version 1.0
 * @description: TODO
 * @date 2021/7/17 0017 21:21
 */
public interface UploadFile {
    /**
     * 文件上传至阿里云
     */
    String upload(InputStream inputStream, String module, String fileName);
    
    /** 
     * @description: 文件删除 
     * @param: url 
     * @return: void 
     * @author Administrator
     * @date: 2021/7/17 0017 22:54
     */ 
    
    void removeFile(String url);
}
